package com.YxyBackMange.Entity.Ware;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.hibernate.validator.constraints.Length;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Set;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 实体类WareOrderInfo
 * 数据表ware_tb_order_info
 * 订单表
 * 2017-12-3 3:47:31
 * @author Administrator
 *
 */
@Table(name = "ware_tb_order_info")
public class WareOrderInfo  implements Serializable {

		//编号
	@Id
	@GeneratedValue(generator = "JDBC")


	private Integer id;
		//订单编号


	private String orderNum;
		//订单金额


	private Double orderMoney;
		//创建时间


	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
		//订单状态


	private Integer stateId;
		//用户编号


	private Integer userId;
		//订单留言


	private Integer leaveMessage;
		//订单描述


	private String orderDescribe;
		//最新操作时间


	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date operateTime;


	public WareOrderInfo(){

	}
	public WareOrderInfo(Integer id){
		this.id=id;
	}
	public void setId(Integer id){
		this.id=id;
	}

	public Integer getId(){
		return this.id;
	}
	public void setOrderNum(String orderNum){
		this.orderNum=orderNum;
	}

	public String getOrderNum(){
		return this.orderNum;
	}
	public void setOrderMoney(Double orderMoney){
		this.orderMoney=orderMoney;
	}

	public Double getOrderMoney(){
		return this.orderMoney;
	}
	public void setCreateTime(Date createTime){
		this.createTime=createTime;
	}

	public Date getCreateTime(){
		return this.createTime;
	}
	public void setStateId(Integer stateId){
		this.stateId=stateId;
	}

	public Integer getStateId(){
		return this.stateId;
	}
	public void setUserId(Integer userId){
		this.userId=userId;
	}

	public Integer getUserId(){
		return this.userId;
	}
	public void setLeaveMessage(Integer leaveMessage){
		this.leaveMessage=leaveMessage;
	}

	public Integer getLeaveMessage(){
		return this.leaveMessage;
	}
	public void setOrderDescribe(String orderDescribe){
		this.orderDescribe=orderDescribe;
	}

	public String getOrderDescribe(){
		return this.orderDescribe;
	}
	public void setOperateTime(Date operateTime){
		this.operateTime=operateTime;
	}

	public Date getOperateTime(){
		return this.operateTime;
	}


}
